package arina.university.dao;

import arina.university.errorhandling.DAOException;
import arina.university.model.University;

import java.util.Collection;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 26.11.13
 * Time: 9:30
 * To change this template use File | Settings | File Templates.
 */
public interface UniversityDAO {
    University create(String name) throws DAOException;

    void delete(String name) throws DAOException;

    void save(University university)throws DAOException;

    University find(String name)throws DAOException;

    Collection<University> findAll()throws DAOException;


}
